<%
    String message=(String)session.getAttribute("flag");
    out.println(message);
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>error.jsp</title>
</head>
<body background-image:url(bg.jpg)>
  <% 
  request.setCharacterEncoding("UTF-8");
  response.setHeader("refresh","2;URL=login.jsp");
  %>
   <h3><%=request.getParameter("p")%></h3>
   <h3>3秒后自动跳转到login.jsp页面，如果没有跳转请点击<a href="login.jsp">这里</a></h3>
  
</body>
</html>